﻿{$header}
<div id="main" class="main" >
    <div class="content">
  <h3 class="heading">采购单{$vo.mano}--货前样质量管理 [ <a href="__URL__">返回列表</a> ]</h3>
<div id="result" class="result none"></div>
<form class="form-horizontal well" method='post' id="form1" name="form1" action="__APP__/Buy/update/">
<table cellpadding=3 cellspacing=3 >
<tr>
    <td>销售订单号</td><td><a href="__APP__/Order/detail/id/{$vo.order_id}"> {$vo.order_id|getModelName='Order','mano'} </a></td>
</tr>
<tr>
    <td width="150px">采购单号：</td>
  <td>
            {$vo.mano}
            <span class="offset1">采购时间：</span> {$vo.create_time|toDate}
        </td>
</tr>
<tr>
    <td class="tRight" width="150px">供应商：</td>
    <td class="tLeft" >{$vo.supplier_id}
            联系人:TODO
        </td>
</tr>
  <tr>
    <td>产品</td>
    <td>{$vo.product_id|getModelName='Product'}</td>
  </tr>
    
 <tr>
     <td>单价</td><td>{$vo.price} 元
     <strong>规格</strong> {$vo.specification}</td>
 </tr>
<tr>
     <td>数量</td><td>
     {$vo.number}{$vo.unit_id|getModelName='Unit'} </td>
 </tr>
 <tr>
     <td>要求交货期</td><td>{$vo.delivery_date|toDate='Y-m-d'}
     </td>
 </tr>
 <tr>
     <td>已付款金额</td>
     <td>
         <div class="input-append">{$vo.first_pay}
             <span class="add-on">元</span>
         </div>
     </td>
 </tr>
 <tr>
     <td>快递公司</td>
     <td>{$vo.logi_id|getConfigVal='chinalogi'}

        快递单号：{$vo.logi_no}
        运费 :{$vo.logifee}<span class="add-on">元</span>
     </td>
 </tr>
 <tr>
    <td>预计到货期</td>
    <td>{$vo.expect_date|toDate='Y-m-d'}
    </td>
</tr>
<tr>
  <td class="tRight" >经办人：</td>
  <td class="tLeft" >{$vo.user_id|getModelName='User'}
        </td>
</tr>
<tr>
  <td class="tRight">备注：</td>
        <td class="tLeft">{$vo.remark}
        </td>
</tr>

<tr>
    <td>收货数量：</td>
    <td>{$vo.receive_number}{$vo.unit_id|getModelName='Unit'} </td>
</tr>
<tr><td>收货时间：</td>
    <td>{$vo.receive_time|toDate}
    </td>
</tr>
<tr>
    <td>收货人：</td>
    <td>{$vo.receive_user|getModelName='User'} </td>
</tr>
<tr><td>采购单状态：</td>
    <td>{$vo.status|getConfigVal='buyStatus'}
   </td> 
</tr>
<tr>
    <td>质量管理</td>
    <td>{:configList(C('sampleqcstatus'),'','sample_qc_status')}</td>
</tr>
<tr>
	<td></td>
	<td class="center" width="300">
        <input type="hidden" value="{$vo.id}" name="id">
	<button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> 保存</button>
	<button type="reset" onclick="javascript:history.back()" class="btn btn-primary offset1"><i class="icon-arrow-left icon-white"></i> 返回</button>
	</td>
</tr>


</table>
</form>
</div>
</div>
<include file="Public:footer" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Js/easyui/themes/default/easyui.css">
<script type="text/javascript" src="__PUBLIC__/Js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/filter-product.js"></script>
<load href="__PUBLIC__/Js/My97DatePicker/WdatePicker.js" />
